
import React from "react"
// svg
import { ReactComponent as CircuitSvg } from '../../assets/svg/fuLong2.svg';
import {$homePageSvgComponentPropsInterface} from "../../interface";
import HomePage_SvgComponent from ".";

// 主页-福隆2svg组件

const HomePage_FuLong2SvgComponent: React.FC<$homePageSvgComponentPropsInterface> = (props) => {
    const width = 2660
    const height = 1130
    const cardList = [
        {
            name: "高压母线",
            top: 35,
            left: 287,
            key: "",
        },
        {
            name: "低压母线-左",
            top: 145,
            left: 36,
            key: "",
        },
        {
            name: "变压器1-左",
            top: 92,
            left: 410,
            key: "",
        },
        {
            name: "变压器1-右",
            top: 148,
            left: 906,
            key: "",
        },
        {
            name: "主供电源进线",
            top: 148,
            left: 1033,
            key: "",
        },
        {
            name: "备用电源进线",
            top: 148,
            left: 1166,
            key: "",
        },
        {
            name: "计量柜",
            top: 148,
            left: 1338,
            key: "",
        },
        {
            name: "PT柜",
            top: 148,
            left: 1471,
            key: "",
        },
        {
            name: "进口+横洞变电所备用",
            top: 148,
            left: 1601,
            key: "",
        },
        {
            name: "变压器2-右",
            top: 92,
            left: 2509,
            key: "",
        },
        {
            name: "低压母线-右",
            top: 145,
            left: 2509,
            key: "",
        },
        {
            name: "左洞入口加强照明1-1-左",
            top: 269,
            left: 96,
            key: "",
        },
        {
            name: "左洞入口加强照明2-1-左",
            top: 269,
            left: 214,
            key: "",
        },
        {
            name: "左洞过渡加强照明1-1-左",
            top: 269,
            left: 333,
            key: "",
        },
        {
            name: "左洞过渡加强照明2-1-左",
            top: 269,
            left: 452,
            key: "",
        },
        {
            name: "左洞基本照明1-1-左",
            top: 269,
            left: 571,
            key: "",
        },
        {
            name: "左洞基本照明2-1-左",
            top: 269,
            left: 690,
            key: "",
        },
        {
            name: "左洞基本照明3-1-左",
            top: 269,
            left: 809,
            key: "",
        },
        {
            name: "备用1-1-左",
            top: 269,
            left: 928,
            key: "",
        },
        {
            name: "备用2-1-左",
            top: 269,
            left: 1047,
            key: "",
        },
        {
            name: "电容补偿+有源滤波-1-左",
            top: 269,
            left: 1166,
            key: "",
        },
        {
            name: "母联柜",
            top: 269,
            left: 1355,
            key: "",
        },
        {
            name: "电容补偿+有源滤波-1-右",
            top: 269,
            left: 1478,
            key: "",
        },
        {
            name: "通风风机1",
            top: 269,
            left: 1594,
            key: "",
        },
        {
            name: "通风风机2",
            top: 269,
            left: 1712,
            key: "",
        },
        {
            name: "通风风机3",
            top: 269,
            left: 1830,
            key: "",
        },
        {
            name: "排烟风机1",
            top: 269,
            left: 1944,
            key: "",
        },
        {
            name: "排烟风机2",
            top: 269,
            left: 2066,
            key: "",
        },
        {
            name: "排烟风机3",
            top: 269,
            left: 2184,
            key: "",
        },
        {
            name: "排烟风机4",
            top: 269,
            left: 2302,
            key: "",
        },
        {
            name: "备用1-1-右",
            top: 269,
            left: 2420,
            key: "",
        },
        {
            name: "备用2-1-右",
            top: 269,
            left: 2538,
            key: "",
        },
        {
            name: "左洞基本照明1-2-左",
            top: 494,
            left: 96,
            key: "",
        },
        {
            name: "左洞基本照明2-2-左",
            top: 494,
            left: 214,
            key: "",
        },
        {
            name: "左洞基本照明3-2-左",
            top: 494,
            left: 332,
            key: "",
        },
        {
            name: "右洞基本照明1-2-左",
            top: 494,
            left: 450,
            key: "",
        },
        {
            name: "右洞基本照明2-2-左",
            top: 494,
            left: 568,
            key: "",
        },
        {
            name: "右洞基本照明3-2-左",
            top: 494,
            left: 686,
            key: "",
        },
        {
            name: "右洞基本照明4-2-左",
            top: 494,
            left: 804,
            key: "",
        },
        {
            name: "备用1-2-左",
            top: 494,
            left: 922,
            key: "",
        },
        {
            name: "备用2-2-左",
            top: 494,
            left: 1040,
            key: "",
        },
        {
            name: "消防（主）",
            top: 494,
            left: 1475,
            key: "",
        },
        {
            name: "备用1-2-右",
            top: 494,
            left: 1593,
            key: "",
        },
        {
            name: "备用2-2-右",
            top: 494,
            left: 1711,
            key: "",
        },
        {
            name: "备用3-2-右",
            top: 494,
            left: 1829,
            key: "",
        },
        {
            name: "备用4-2-右",
            top: 494,
            left: 1947,
            key: "",
        },
        {
            name: "备用5-2-右",
            top: 494,
            left: 2065,
            key: "",
        },
        {
            name: "备用6-2-右",
            top: 494,
            left: 2183,
            key: "",
        },
        {
            name: "备用7-2-右",
            top: 494,
            left: 2300,
            key: "",
        },
        {
            name: "备用8-2-右",
            top: 494,
            left: 2419,
            key: "",
        },
        {
            name: "备用9-2-右",
            top: 494,
            left: 2538,
            key: "",
        },
        {
            name: "右洞基本照明1-3-左",
            top: 709,
            left: 96,
            key: "",
        },
        {
            name: "右洞基本照明2-3-左",
            top: 709,
            left: 214,
            key: "",
        },
        {
            name: "右洞出口加强照明1-3-左",
            top: 709,
            left: 332,
            key: "",
        },
        {
            name: "右洞出口加强照明2-3-左",
            top: 709,
            left: 450,
            key: "",
        },
        {
            name: "消防（备）",
            top: 709,
            left:568,
            key: "",
        },
        {
            name: "变电所用电",
            top: 709,
            left: 686,
            key: "",
        },
        {
            name: "UPS",
            top: 709,
            left: 804,
            key: "",
        },
        {
            name: "备用1-3-左",
            top: 709,
            left: 922,
            key: "",
        },
        {
            name: "备用2-3-左",
            top: 709,
            left: 1040,
            key: "",
        },
        {
            name: "左线检修插座",
            top: 934,
            left: 96,
            key: "",
        },
        {
            name: "右线检修插座",
            top: 934,
            left: 214,
            key: "",
        },
        {
            name: "备用1-4-左",
            top: 934,
            left: 332,
            key: "",
        },
        {
            name: "备用2-4-左",
            top: 934,
            left: 450,
            key: "",
        },
        {
            name: "备用3-4-左",
            top: 934,
            left:568,
            key: "",
        },
        {
            name: "备用4-4-左",
            top: 934,
            left: 686,
            key: "",
        },
        {
            name: "备用5-4-左",
            top: 934,
            left: 804,
            key: "",
        },
        {
            name: "备用6-4-左",
            top: 934,
            left: 922,
            key: "",
        },
        {
            name: "EPS回路",
            top: 934,
            left: 1031,
            key: "",
        },
        {
            name: "左洞应急照明1-4-右",
            top: 934,
            left: 1436,
            key: "",
        },
        {
            name: "左洞应急照明2-4-右",
            top: 934,
            left: 1553,
            key: "",
        },
        {
            name: "左洞应急照明3-4-右",
            top: 934,
            left: 1671,
            key: "",
        },
        {
            name: "右洞应急照明1-4-右",
            top: 934,
            left: 1789,
            key: "",
        },
        {
            name: "右洞应急照明2-4-右",
            top: 934,
            left: 1907,
            key: "",
        },
        {
            name: "右洞应急照明3-4-右",
            top: 934,
            left: 2025,
            key: "",
        },
        {
            name: "备用1-4-右",
            top: 934,
            left: 2143,
            key: "",
        },
        {
            name: "备用2-4-右",
            top: 934,
            left: 2261,
            key: "",
        },
        {
            name: "备用3-4-右",
            top: 934,
            left: 2379,
            key: "",
        },
        {
            name: "车行横洞配电箱",
            top: 934,
            left: 2497,
            key: "",
        },
    ]
 const rowGeneratrixList = ["高压母线", "低压母线-左", "低压母线-右"]
    const row14List = ["变压器1-左", "变压器2-右"]

    const dialogBoxList = [
        {
            name: "变压器1",
            top: 147,
            left: 545,
            key: "",
            direction: "Up"
        },
        {
            name: "主供电源进线",
            top: 69,
            left: 1016,
            key: "",
            direction: "Down"
        },
        {
            name: "备用电源进线",
            top: 147,
            left: 1147,
            key: "",
            direction: "Up"
        },
        {
            name: "变压器2",
            top: 147,
            left: 2034,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞入口加强照明1-1-左",
            top: 300,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞入口加强照明2-1-左",
            top: 377,
            left: 205,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞过渡加强照明1-1-左",
            top: 300,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞过渡加强照明2-1-左",
            top: 377,
            left: 441,
            key: "",
            direction: "Up"
        }, {
            name: "左洞基本照明1-1-左",
            top: 300,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明2-1-左",
            top: 377,
            left: 676,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明3-1-左",
            top: 300,
            left: 795,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-1-左",
            top: 377,
            left: 912,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-1-左",
            top: 300,
            left: 1031,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿+有源滤波-1-左",
            top: 377,
            left: 1148,
            key: "",
            direction: "Up"
        },
        {
            name: "母联柜",
            top: 300,
            left: 1347,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿+有源滤波-1-右",
            top: 377,
            left: 1465,
            key: "",
            direction: "Up"
        },
        {
            name: "通风风机1",
            top: 300,
            left: 1583,
            key: "",
            direction: "Down"
        },
        {
            name: "通风风机2",
            top: 377,
            left: 1700,
            key: "",
            direction: "Up"
        },
        {
            name: "通风风机3",
            top: 300,
            left: 1819,
            key: "",
            direction: "Down"
        },
        {
            name: "排烟风机1",
            top: 377,
            left: 1937,
            key: "",
            direction: "Up"
        },
        {
            name: "排烟风机2",
            top: 300,
            left: 2056,
            key: "",
            direction: "Down"
        },
        {
            name: "排烟风机3",
            top: 377,
            left: 2172,
            key: "",
            direction: "Up"
        },
        {
            name: "排烟风机4",
            top: 300,
            left: 2291,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-1-右",
            top: 377,
            left: 2409,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-1-右",
            top: 300,
            left: 2528,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明1-2-左",
            top: 522,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明2-2-左",
            top: 599,
            left: 204,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明3-2-左",
            top: 522,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明1-2-左",
            top: 599,
            left: 441,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明2-2-左",
            top: 522,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明3-2-左",
            top: 599,
            left: 676,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明4-2-左",
            top: 522,
            left: 795,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-2-左",
            top: 599,
            left: 912,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-2-左",
            top: 522,
            left: 1031,
            key: "",
            direction: "Down"
        },
        {
            name: "消防（主）",
            top: 599,
            left: 1464,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-2-右",
            top: 522,
            left: 1582,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-2-右",
            top: 599,
            left: 1700,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-2-右",
            top: 522,
            left: 1819,
            key: "",
            direction: "Down"
        },
        {
            name: "备用4-2-右",
            top: 599,
            left: 1937,
            key: "",
            direction: "Up"
        },
        {
            name: "备用5-2-右",
            top: 522,
            left: 2051,
            key: "",
            direction: "Down"
        },
        {
            name: "备用6-2-右",
            top: 599,
            left: 2172,
            key: "",
            direction: "Up"
        },
        {
            name: "备用7-2-右",
            top: 522,
            left: 2291,
            key: "",
            direction: "Down"
        },
        {
            name: "备用8-2-右",
            top: 599,
            left: 2409,
            key: "",
            direction: "Up"
        },
        {
            name: "备用9-2-右",
            top: 522,
            left: 2527,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明1-3-左",
            top: 743,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明2-3-左",
            top: 820,
            left: 204,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞出口加强照明1-3-左",
            top: 743,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞出口加强照明2-3-左",
            top: 820,
            left: 441,
            key: "",
            direction: "Up"
        },
        {
            name: "消防（备）",
            top: 743,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "变电所用电",
            top: 820,
            left: 676,
            key: "",
            direction: "Up"
        },
        {
            name: "UPS",
            top: 743,
            left: 795,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-3-左",
            top: 820,
            left: 912,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-3-左",
            top: 743,
            left: 1031,
            key: "",
            direction: "Down"
        },
        {
            name: "左线检修插座",
            top: 962,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "右线检修插座",
            top: 1039,
            left: 204,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-4-左",
            top: 962,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-4-左",
            top: 1039,
            left: 441,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-4-左",
            top: 962,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "备用4-4-左",
            top: 1039,
            left: 676,
            key: "",
            direction: "Up"
        },
        {
            name: "备用5-4-左",
            top: 962,
            left: 795,
            key: "",
            direction: "Down"
        },
        {
            name: "备用6-4-左",
            top: 1039,
            left: 912,
            key: "",
            direction: "Up"
        },
        {
            name: "EPS回路",
            top: 962,
            left: 1031,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明1-4-右",
            top: 962,
            left: 1421,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明2-4-右",
            top: 1039,
            left: 1540,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明3-4-右",
            top: 962,
            left: 1658,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明1-4-右",
            top: 1039,
            left: 1776,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞应急照明2-4-右",
            top: 962,
            left: 1895,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明3-4-右",
            top: 1039,
            left: 2012,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-4-右",
            top: 962,
            left: 2130,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-4-右",
            top: 1039,
            left: 2248,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-4-右",
            top: 962,
            left: 2367,
            key: "",
            direction: "Down"
        },
        {
            name: "车行横洞配电箱",
            top: 1039,
            left: 2484,
            key: "",
            direction: "Up"
        },
    ]
    return (
        <HomePage_SvgComponent initWidth={width} initHeight={height} pageName={props.pageName} scaleValue={props.scaleValue} isSwitch={props.isSwitch} Svg={CircuitSvg} cardList={cardList} rowGeneratrixList={rowGeneratrixList} row14List={row14List} initDialogBoxList={dialogBoxList} sourceList={props.sourceList}/>
    )
}

export default HomePage_FuLong2SvgComponent
